package quoridor;
/**
 * Represents a particular square on the board, using the upper leftmost
 * corner as (0,0) - (Row, Column)
 * @author Jono
 *
 */
public interface Coordinate {
        /**
         * Returns the row coordinate of the current object as an int.
         * @return int Row number
         */
        public int getRow();
        /**
         * Returns the column coordinate of the current object as an int.
         * @return int Column number
         */
        public int getColumn();
        
        /**
         * Returns a boolean indicating whether the given coordinate is x-y
         * adjacent to the parameter coordinate.
         * @param the Other coordinate
         * @return boolean indicating
         */
        public boolean isAdjacent(Coordinate otherCoord);
        
        /**
         * Returns a boolean indicating whether the given coordinate is within the
         * bounds of a 9*9 board
         * @return Boolean indicating the status of the coordinate
         */
		public boolean isValidCoordinate();
}
